//
//  ForumArchiver.m
//  auto
//
//  Created by Scott on 14/11/6.
//  Copyright (c) 2014年 Ryo Aoyama. All rights reserved.
//

#import "ForumArchiver.h"

@implementation ForumArchiver

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:self.archiverTitle forKey:@"title"];
    [aCoder encodeObject:self.archiverID forKey:@"id"];
    
}

- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super init];
    if (self) {
        self.archiverTitle = [aDecoder decodeObjectForKey:@"title"];
        self.archiverID = [aDecoder decodeObjectForKey:@"id"];
    }
    
    return self;
}

@end
